<?php

/**
* LinkHelper
*/
class LinkHelper extends Helper
{
	var $helpers = array('Html');
	
	/**
	 * Create a link to a controller and an action inside de project
	 *
	 * @return a well formated link
	 * @author Rémi Peron
	 **/
	public function projectLink($project_id, $project_name, $title, $where)
	{
		$link = $this->Html->link($title, '/'. $project_name . '/' . $project_id . $where);
		return $this->output($link);
	}
}

?>